package com.itheima.controller.v1.api;

import com.itheima.common.R;
import com.itheima.dto.CourseDto;
import com.itheima.pojo.TbCourse;
import io.swagger.annotations.Api;
import io.swagger.annotations.ApiModelProperty;
import io.swagger.annotations.ApiOperation;

@Api("课程接口")
public interface CourseControllerApi {

    @ApiOperation("课程分页条件查询接口")
    public R listCourse(CourseDto courseDto);

    @ApiOperation("添加课程接口")
    public R addCourse(TbCourse tbCourse);

    @ApiOperation("修改课程--课程回显接口")
    public R getCourseById(Long id);

    @ApiOperation("修改课程--确认修改接口")
    public R modifyCourse(TbCourse tbCourse);

    @ApiOperation("删除课程接口")
    public R removeCourse(Long id);

    @ApiOperation("批量删除课程接口")
    public R removeCoueses(Long[] ids);

    @ApiOperation("合同管理的高级搜索的购买课程列表选择")
    public R listSelect();

}
